import java.util.Scanner;

public class Exer3_7_6 {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        System.out.println("请输入用户积分：");
        int num =input.nextInt();
        if(num>=8000){
            System.out.println("6折");
        }else if(num>=4000){
            System.out.println("7折");
        }else if(num>=2000){
            System.out.println("8折");
        }else{
            System.out.println("9折");
        }
    }
}
